const { t } = useI18n()

export const courseSchema = [
  {
    label: t('course.fields.id'),
    field: 'id'
  },
  {
    label: t('course.fields.name'),
    field: 'name'
  },
  {
    label: t('course.fields.semesterId'),
    field: 'semester_id'
  },
  {
    label: t('course.fields.code'),
    field: 'code'
  },
  {
    label: t('course.fields.teacher'),
    field: 'teacher'
  },
  {
    label: t('course.fields.remark'),
    field: 'remark'
  },
  {
    label: t('course.fields.creator'),
    field: 'creator'
  },
  {
    label: t('course.fields.createTime'),
    field: 'create_time'
  },
  {
    label: t('course.fields.updater'),
    field: 'updater'
  },
  {
    label: t('course.fields.updateTime'),
    field: 'update_time'
  },
  {
    label: t('course.fields.deleted'),
    field: 'deleted'
  },
  {
    label: t('course.fields.tenantId'),
    field: 'tenant_id'
  },
]

/* 以下内容请剪切到i18n语言文件中
course: {
  fields: {
    id: '主键',
    name: '课程名称',
    semesterId: '课程学期ID',
    code: '课程编码',
    teacher: '教师',
    remark: '备注',
    creator: '创建者',
    createTime: '创建时间',
    updater: '更新者',
    updateTime: '更新时间',
    deleted: '是否删除',
    tenantId: '租户编号'
  }
}
*/